<template>
  <div>
    <sc-upload v-model="form.portrait" title="上传头像"  cropper :aspectRatio="1/1"></sc-upload>
<!--    <el-button @click="updata" type="primary">上传图片</el-button>-->
  </div>
</template>
<script >
import scUpload from "@/views/updateImg/components/scUpload/index.vue";
export default {
  components:{
    "sc-upload":scUpload
  },
  data() {
    return {
      form: {
        portrait:'',
      }
    };
  },
  methods: {
  }
}
</script>
<style scoped>

</style>